<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="" method="post" enctype="multipart/form-data">
    {% csrf_token %}
    姓名:<input type="text" name="name" placeholder="输入名字">
    <br>
    年龄:<input type="text" name="age" placeholder="输入年龄">
    <br>
    性别:<input type="text" name="sex" placeholder="输入性别">
    <br>
    照片:<input type="file" name="icon">
    <br>
    <input type="submit" value="提交">
</form>
</body>
</html>